import React from 'react'
import './headerStyle.scss'
import {useNavigate} from 'umi'
import Icon from '@c/Icon'
export default function HeaderHome() {
    const navigate = useNavigate()
  return (
    <div className='HeaderHome'>
      <div className='icon_size'>
       
        <p className='p1'>酒仙</p>
        
        <p className='p2'>JIUXIAN</p>
        </div>
      
      <div className='nav_header' onClick={
        () => {
            navigate('/search')
        }
      }>
        <Icon name = '&#xe60a;' size={23} color = 'gray'/>
        <div className='input_swich'>
            酒仙年货节:满999-100+1元得招财小元宝酒
        </div>
      </div>
    </div>
  )
}
